package com.example.wordcardjavaproject.mapper;

import com.example.wordcardjavaproject.bean.Word;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface WordMapper {
    List<Word> selectWordList(Long userId);
    void updateWord(Word word);
    void addWordList(List list);
    void deletWord(Word word);
}
